package com.etl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.etl.entity.EtlBusinessDbInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface EtlBusinessDbInfoMapper extends BaseMapper<EtlBusinessDbInfo> {

    /**
     * 建表
     *
     * @param tableStructure 建表语句
     */
    void createTable(@Param("tableStructure") String tableStructure);

    /**
     * 查询表是否存在
     *
     * @param tableNames
     * @return
     */
//    Integer findTableByTableName(String tableNames);

    /**
     * 删除表结构
     *
     * @param deleteTables
     * @param AccountName
     */
    void deleteTable(@Param("deleteTables")String deleteTables,@Param("AccountName")String AccountName,@Param("delDate")String delDate);


}
